<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  let定义的是变量是块级的变量,var定义的变量是全局变量或者函数变量,let定义的变量只对它的区域有效
  var定义的变量范围最少是一个函数之内
</body>

</html>